home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
clipper
/
ks94an.zip
/
CTR_VAR.HDR
< prev
next >
Wrap
Text File
|
1994-04-25
|
879b
|
34 lines
/******************************************************************************
The Klipper Library, for CA-Clipper 5.x
Copyright (c), 1994, Wallace Information Systems Engineering
FUNCTION:
_Ctr_Var( cCenterStr ) --> cString
PARAMETERS:
cCenterStr : String to be centered
SHORT:
Center (redistribute) a string within it's own length.
DESCRIPTION:
_Ctr_Var() takes a string with trailing spaces and repositions the non-blank
portion within the length of the variable itself. The trailing spaces are
evenly redistributed to the begin and ending of the non-blank value. This is
really simple!!!!
NOTE:
EXAMPLE:
cString1 = _Ctr_Var('THIS IS A VARIABLE ')
Result: cString1 = ' THIS IS A VARIABLE '
******************************************************************************/